Template: Tnavbar-collapsible
{{{1}}}
Usage
Simply place {{Tnavbar-collapsible|Heading|Name of Template}} in the header area of collapsible tables to add left justified v • d • e navigational functionality.
Parameters
Mandatory
- 1
- (the first unnamed parameter) Text that appears centered in the titlebar (the top bar).
- 2
- (the second unnamed parameter) The name of the template, which is needed for the "view • talk • edit" links to work properly on all of the pages where the template is used on. You can enter
{{subst:PAGENAME}}for this value as a shortcut.
Optional
- fontcolor
- (Deprecated) Specifies the title text color
See also
- {{Tnavbar}}
- This template transcluses tnavbar, the source is more customizable.
- {{tnavbar-header}}
- Positions v • d • e on the right edge of the line, often used in non-collapsible navbox heading.
- {{Tnavbar-navframe}}
- For use in conjunction with Navframe divs, positions v • d • e opposite of the [hide]/[show] feature.
Make use of meta-template to reduce code bloat and simplify editing:
| collapsible | Image | Groups | Default header color | Style parameter | Example | |
|---|---|---|---|---|---|---|
| {{Navigation}} | NavFrame | No | No | #efefef | No | {{OPEC}} |
| {{Navigation with image}} | NavFrame | Left/right of body | No | #efefef | No | {{Cetaceans}} |
| {{Dynamic navigation box}} | collapsible | No | No | #ccccff | Yes | {{CSUHeads}} |
| {{Dynamic navigation box with image}} | NavFrame | Upper left | No | #efefef | No | {{Cities and towns in Ostalb (district)}} |
| {{Navbox generic}} | collapsible | No | Yes | #ccccff | Yes | {{Dilbert}} |
| {{Navbox generic with image}} | collapsible | Right-hand side | Yes | #ccccff | Yes | |
| {{NavigationBox}} | No | Right of header+body | No | #ccccff | No | {{EPA}} |
| {{Navigation no hide}} | No | No | No | #eee | No | |
| {{Commons:NavigationBox}} | No | Right of header+body | No | #ccccff | No | |
| {{Commons:Dynamic navigation box}} | NavFrame | No | No | #ccccff | No | |
| {{Commons:Dynamic navigation box with image}}Â | NavFrame | Upper left | No | #efefef | No | |
| CSS class | collapses when†| custom initial state | Nesting | |
|---|---|---|---|---|
| NavFrame | NavFrame | 3+ of the same | No | Yes |
| collapsible | navbox, collapsible | 2+ of the same | Yes | No |
| †For the technically minded, see MediaWiki:Common.js. | ||||
Credits
New World Encyclopedia writers and editors copied and adjusted this Wikipedia template in accordance with New World Encyclopedia standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution.The history of earlier contributions by wikipedians is accessible to researchers here:
The history of this article since it was imported to New World Encyclopedia:
Note: Some restrictions may apply to use of individual images which are separately licensed.